package com.woniu.model.contentMService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 咨询部
 * </p>
 *
 * @author 作者
 * @since 2023-10-20
 */
@Getter
@Setter
  @TableName("cm_information")
@ApiModel(value = "Information对象", description = "咨询部")
public class Information implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("咨询表id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("文章标题")
      private String title;

      @ApiModelProperty("缩略图")
      private String consultUrl;

      @ApiModelProperty("上传时间")
      private Date uploadTime;

      @ApiModelProperty("编辑作者")
      private String author;

      @ApiModelProperty("正文")
      private String mainBody;

      @ApiModelProperty("是否上架 0/1")
      private Integer listing;

      @ApiModelProperty("是否置顶 0/1")
      private Integer pinned;

      @ApiModelProperty("来源")
      private Integer source;

      @ApiModelProperty("备注")
      private String remark;

      @ApiModelProperty("用户id 外键")
      private Integer userId;

      @ApiModelProperty("状态 0/1")
      private Integer state;

      @ApiModelProperty("栏目id 外键")
      private Integer coId;


}
